﻿namespace BorgExt
{
    internal class PluginNotification : TypeStoreNotification
    {
        internal readonly NotifyPlugin NotifyPlugin;
        internal readonly Plugin Plugin;

        public PluginNotification(NotifyPlugin notifyPlugin, Plugin plugin)
        {
            NotifyPlugin = notifyPlugin;
            Plugin = plugin;
        }

        internal override void Notify()
        {
            NotifyPlugin(Plugin);
        }
    }
}

